//
//  RegistrationTypeListCell.swift
//  EyeVisionForPatients
//
//  Created by qdsg on 2020/4/20.
//  Copyright © 2020 QDSG. All rights reserved.
//

import UIKit

class SERegistrationTypeListCell: UITableViewCell {

    static let className = "SERegistrationTypeListCell"
    static let reuseId = className
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }
    
    func updateData(model: SERegistrationDeptModel) {
        titleLabel.text = model.name
    }
    
    @IBOutlet weak var titleLabel: UILabel!
    
    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)
        titleLabel.textColor = selected ? Asset.main.color : Asset.textDark.color
        titleLabel.font = selected ? UIFont.medium(14) : UIFont.regular(14)
        // Configure the view for the selected state
    }
    
}
